<div id="menu">
	<ul>
		<li <?php if( $this->route->folder == DEFAULT_APPLICATION ) { echo 'class="active"'; } ?>>
			<a href="<?php echo SITE_ADDRESS ?>">Home</a>
		</li>
		<?php if( isset($this->controller_menu) ): ?>
			<?php foreach( $this->controller_menu as $controller ): ?>
				<li <?php if( $this->route->folder == $controller['application'] ) { echo 'class="active"'; } ?>>
					<a href="<?php echo SITE_ADDRESS . '/' . $controller['application']; ?>"><?php echo $controller['display_name'] ?></a>
				</li>
			<?php endforeach; ?>
		<?php endif; ?>
	</ul>
</div>